<!DOCTYPE HTML>

<html lang="en">
<head>

<title>LogoutConfigurer (spring-security-docs 5.6.3 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="LogoutConfigurer (spring-security-docs 5.6.3 API)";
        }
    }
    catch(err) {
    }
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">

<div class="topNav"><a id="navbar.top">

</a>
<div class="skipNav"><a href="LogoutConfigurer.html#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="LogoutConfigurer.html#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="LogoutConfigurer.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="LogoutConfigurer.html#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="LogoutConfigurer.html#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">

</a></div>

</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>

<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.springframework.security.config.annotation.web.configurers</a></div>
<h2 title="Class LogoutConfigurer" class="title">Class LogoutConfigurer&lt;H extends <a href="../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;H&gt;&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">org.springframework.security.config.annotation.SecurityConfigurerAdapter</a>&lt;<a href="../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;B&gt;</li>
<li>
<ul class="inheritance">
<li><a href="AbstractHttpConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;H&gt;,&#8203;H&gt;</li>
<li>
<ul class="inheritance">
<li>org.springframework.security.config.annotation.web.configurers.LogoutConfigurer&lt;H&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation">SecurityConfigurer</a>&lt;<a href="../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;H&gt;</code></dd>
</dl>
<hr>
<pre>public final class <span class="typeNameLabel">LogoutConfigurer&lt;H extends <a href="../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;H&gt;&gt;</span>
extends <a href="AbstractHttpConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractHttpConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;H&gt;,&#8203;H&gt;</pre>
<div class="block">Adds logout support. Other <a href="../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation"><code>SecurityConfigurer</code></a> instances may invoke
<a href="LogoutConfigurer.html#addLogoutHandler(org.springframework.security.web.authentication.logout.LogoutHandler)"><code>addLogoutHandler(LogoutHandler)</code></a> in the <a href="LogoutConfigurer.html#init(H)"><code>init(HttpSecurityBuilder)</code></a>
phase.
<h2>Security Filters</h2>
The following Filters are populated
<ul>
<li><a href="../../../../web/authentication/logout/LogoutFilter.html" title="class in org.springframework.security.web.authentication.logout"><code>LogoutFilter</code></a></li>
</ul>
<h2>Shared Objects Created</h2>
No shared Objects are created
<h2>Shared Objects Used</h2>
No shared objects are used.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.2</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="RememberMeConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>RememberMeConfigurer</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">

</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#%3Cinit%3E()">LogoutConfigurer</a></span>()</code></th>
<td class="colLast">
<div class="block">Creates a new instance</div>
</td>
</tr>
</table>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">

</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#addLogoutHandler(org.springframework.security.web.authentication.logout.LogoutHandler)">addLogoutHandler</a></span>&#8203;(<a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutHandler</a>&nbsp;logoutHandler)</code></th>
<td class="colLast">
<div class="block">Adds a <a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutHandler</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#clearAuthentication(boolean)">clearAuthentication</a></span>&#8203;(boolean&nbsp;clearAuthentication)</code></th>
<td class="colLast">
<div class="block">Specifies if <a href="../../../../web/authentication/logout/SecurityContextLogoutHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SecurityContextLogoutHandler</code></a> should clear the
<a href="../../../../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> at the time of logout.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#configure(H)">configure</a></span>&#8203;(<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&nbsp;http)</code></th>
<td class="colLast">
<div class="block">Configure the <a href="../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a> by setting the necessary properties on the
<a href="../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#defaultLogoutSuccessHandlerFor(org.springframework.security.web.authentication.logout.LogoutSuccessHandler,org.springframework.security.web.util.matcher.RequestMatcher)">defaultLogoutSuccessHandlerFor</a></span>&#8203;(<a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutSuccessHandler</a>&nbsp;handler,
<a href="../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher">RequestMatcher</a>&nbsp;preferredMatcher)</code></th>
<td class="colLast">
<div class="block">Sets a default <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> to be used which prefers being invoked
for the provided <a href="../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher"><code>RequestMatcher</code></a>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#deleteCookies(java.lang.String...)">deleteCookies</a></span>&#8203;(java.lang.String...&nbsp;cookieNamesToClear)</code></th>
<td class="colLast">
<div class="block">Allows specifying the names of cookies to be removed on logout success.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutHandler</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#getLogoutHandlers()">getLogoutHandlers</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the <a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutHandler</code></a> instances that will be used.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutSuccessHandler</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#getLogoutSuccessHandler()">getLogoutSuccessHandler</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> if not null, otherwise creates a new
<a href="../../../../web/authentication/logout/SimpleUrlLogoutSuccessHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SimpleUrlLogoutSuccessHandler</code></a> using the <a href="LogoutConfigurer.html#logoutSuccessUrl(java.lang.String)"><code>logoutSuccessUrl(String)</code></a>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#init(H)">init</a></span>&#8203;(<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&nbsp;http)</code></th>
<td class="colLast">
<div class="block">Initialize the <a href="../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#invalidateHttpSession(boolean)">invalidateHttpSession</a></span>&#8203;(boolean&nbsp;invalidateHttpSession)</code></th>
<td class="colLast">
<div class="block">Configures <a href="../../../../web/authentication/logout/SecurityContextLogoutHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SecurityContextLogoutHandler</code></a> to invalidate the
<code>HttpSession</code> at the time of logout.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#logoutRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher)">logoutRequestMatcher</a></span>&#8203;(<a href="../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher">RequestMatcher</a>&nbsp;logoutRequestMatcher)</code></th>
<td class="colLast">
<div class="block">The RequestMatcher that triggers log out to occur.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#logoutSuccessHandler(org.springframework.security.web.authentication.logout.LogoutSuccessHandler)">logoutSuccessHandler</a></span>&#8203;(<a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutSuccessHandler</a>&nbsp;logoutSuccessHandler)</code></th>
<td class="colLast">
<div class="block">Sets the <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> to use.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#logoutSuccessUrl(java.lang.String)">logoutSuccessUrl</a></span>&#8203;(java.lang.String&nbsp;logoutSuccessUrl)</code></th>
<td class="colLast">
<div class="block">The URL to redirect to after logout has occurred.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#logoutUrl(java.lang.String)">logoutUrl</a></span>&#8203;(java.lang.String&nbsp;logoutUrl)</code></th>
<td class="colLast">
<div class="block">The URL that triggers log out to occur (default is "/logout").</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#permitAll()">permitAll</a></span>()</code></th>
<td class="colLast">
<div class="block">A shortcut for <a href="LogoutConfigurer.html#permitAll(boolean)"><code>permitAll(boolean)</code></a> with <code>true</code> as an argument.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="LogoutConfigurer.html#permitAll(boolean)">permitAll</a></span>&#8203;(boolean&nbsp;permitAll)</code></th>
<td class="colLast">
<div class="block">Grants access to the <a href="LogoutConfigurer.html#logoutSuccessUrl(java.lang.String)"><code>logoutSuccessUrl(String)</code></a> and the
<a href="LogoutConfigurer.html#logoutUrl(java.lang.String)"><code>logoutUrl(String)</code></a> for every user.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer">

</a>
<h3>Methods inherited from class&nbsp;org.springframework.security.config.annotation.web.configurers.<a href="AbstractHttpConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">AbstractHttpConfigurer</a></h3>
<code><a href="AbstractHttpConfigurer.html#disable()">disable</a>, <a href="AbstractHttpConfigurer.html#withObjectPostProcessor(org.springframework.security.config.annotation.ObjectPostProcessor)">withObjectPostProcessor</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.springframework.security.config.annotation.SecurityConfigurerAdapter">

</a>
<h3>Methods inherited from class&nbsp;org.springframework.security.config.annotation.<a href="../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">SecurityConfigurerAdapter</a></h3>
<code><a href="../../SecurityConfigurerAdapter.html#addObjectPostProcessor(org.springframework.security.config.annotation.ObjectPostProcessor)">addObjectPostProcessor</a>, <a href="../../SecurityConfigurerAdapter.html#and()">and</a>, <a href="../../SecurityConfigurerAdapter.html#getBuilder()">getBuilder</a>, <a href="../../SecurityConfigurerAdapter.html#postProcess(T)">postProcess</a>, <a href="../../SecurityConfigurerAdapter.html#setBuilder(B)">setBuilder</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">

</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">

</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>LogoutConfigurer</h4>
<pre>public&nbsp;LogoutConfigurer()</pre>
<div class="block">Creates a new instance</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../builders/HttpSecurity.html#logout()"><code>HttpSecurity.logout()</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>

<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">

</a>
<h3>Method Detail</h3>
<a id="addLogoutHandler(org.springframework.security.web.authentication.logout.LogoutHandler)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>addLogoutHandler</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;addLogoutHandler&#8203;(<a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutHandler</a>&nbsp;logoutHandler)</pre>
<div class="block">Adds a <a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutHandler</code></a>. <a href="../../../../web/authentication/logout/SecurityContextLogoutHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SecurityContextLogoutHandler</code></a> and
<a href="../../../../web/authentication/logout/LogoutSuccessEventPublishingLogoutHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>LogoutSuccessEventPublishingLogoutHandler</code></a> are added as last
<a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutHandler</code></a> instances by default.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>logoutHandler</code> - the <a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutHandler</code></a> to add</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customization</dd>
</dl>
</li>
</ul>
<a id="clearAuthentication(boolean)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>clearAuthentication</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;clearAuthentication&#8203;(boolean&nbsp;clearAuthentication)</pre>
<div class="block">Specifies if <a href="../../../../web/authentication/logout/SecurityContextLogoutHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SecurityContextLogoutHandler</code></a> should clear the
<a href="../../../../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> at the time of logout.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clearAuthentication</code> - true <a href="../../../../web/authentication/logout/SecurityContextLogoutHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SecurityContextLogoutHandler</code></a> should clear
the <a href="../../../../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> (default), or false otherwise.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customization</dd>
</dl>
</li>
</ul>
<a id="invalidateHttpSession(boolean)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>invalidateHttpSession</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;invalidateHttpSession&#8203;(boolean&nbsp;invalidateHttpSession)</pre>
<div class="block">Configures <a href="../../../../web/authentication/logout/SecurityContextLogoutHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SecurityContextLogoutHandler</code></a> to invalidate the
<code>HttpSession</code> at the time of logout.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>invalidateHttpSession</code> - true if the <code>HttpSession</code> should be invalidated
(default), or false otherwise.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customization</dd>
</dl>
</li>
</ul>
<a id="logoutUrl(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>logoutUrl</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;logoutUrl&#8203;(java.lang.String&nbsp;logoutUrl)</pre>
<div class="block">The URL that triggers log out to occur (default is "/logout"). If CSRF protection
is enabled (default), then the request must also be a POST. This means that by
default POST "/logout" is required to trigger a log out. If CSRF protection is
disabled, then any HTTP method is allowed.
<p>
It is considered best practice to use an HTTP POST on any action that changes state
(i.e. log out) to protect against
<a href="https://en.wikipedia.org/wiki/Cross-site_request_forgery">CSRF
attacks</a>. If you really want to use an HTTP GET, you can use
<code>logoutRequestMatcher(new AntPathRequestMatcher(logoutUrl, "GET"));</code>
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>logoutUrl</code> - the URL that will invoke logout.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customization</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LogoutConfigurer.html#logoutRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher)"><code>logoutRequestMatcher(RequestMatcher)</code></a>,
<a href="../builders/HttpSecurity.html#csrf()"><code>HttpSecurity.csrf()</code></a></dd>
</dl>
</li>
</ul>
<a id="logoutRequestMatcher(org.springframework.security.web.util.matcher.RequestMatcher)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>logoutRequestMatcher</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;logoutRequestMatcher&#8203;(<a href="../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher">RequestMatcher</a>&nbsp;logoutRequestMatcher)</pre>
<div class="block">The RequestMatcher that triggers log out to occur. In most circumstances users will
use <a href="LogoutConfigurer.html#logoutUrl(java.lang.String)"><code>logoutUrl(String)</code></a> which helps enforce good practices.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>logoutRequestMatcher</code> - the RequestMatcher used to determine if logout should
occur.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customization</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LogoutConfigurer.html#logoutUrl(java.lang.String)"><code>logoutUrl(String)</code></a></dd>
</dl>
</li>
</ul>
<a id="logoutSuccessUrl(java.lang.String)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>logoutSuccessUrl</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;logoutSuccessUrl&#8203;(java.lang.String&nbsp;logoutSuccessUrl)</pre>
<div class="block">The URL to redirect to after logout has occurred. The default is "/login?logout".
This is a shortcut for invoking <a href="LogoutConfigurer.html#logoutSuccessHandler(org.springframework.security.web.authentication.logout.LogoutSuccessHandler)"><code>logoutSuccessHandler(LogoutSuccessHandler)</code></a>
with a <a href="../../../../web/authentication/logout/SimpleUrlLogoutSuccessHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SimpleUrlLogoutSuccessHandler</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>logoutSuccessUrl</code> - the URL to redirect to after logout occurred</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customization</dd>
</dl>
</li>
</ul>
<a id="permitAll()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>permitAll</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;permitAll()</pre>
<div class="block">A shortcut for <a href="LogoutConfigurer.html#permitAll(boolean)"><code>permitAll(boolean)</code></a> with <code>true</code> as an argument.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="deleteCookies(java.lang.String...)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteCookies</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;deleteCookies&#8203;(java.lang.String...&nbsp;cookieNamesToClear)</pre>
<div class="block">Allows specifying the names of cookies to be removed on logout success. This is a
shortcut to easily invoke <a href="LogoutConfigurer.html#addLogoutHandler(org.springframework.security.web.authentication.logout.LogoutHandler)"><code>addLogoutHandler(LogoutHandler)</code></a> with a
<a href="../../../../web/authentication/logout/CookieClearingLogoutHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>CookieClearingLogoutHandler</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cookieNamesToClear</code> - the names of cookies to be removed on logout success.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customization</dd>
</dl>
</li>
</ul>
<a id="logoutSuccessHandler(org.springframework.security.web.authentication.logout.LogoutSuccessHandler)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>logoutSuccessHandler</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;logoutSuccessHandler&#8203;(<a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutSuccessHandler</a>&nbsp;logoutSuccessHandler)</pre>
<div class="block">Sets the <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> to use. If this is specified,
<a href="LogoutConfigurer.html#logoutSuccessUrl(java.lang.String)"><code>logoutSuccessUrl(String)</code></a> is ignored.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>logoutSuccessHandler</code> - the <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> to use after a user
has been logged out.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="defaultLogoutSuccessHandlerFor(org.springframework.security.web.authentication.logout.LogoutSuccessHandler,org.springframework.security.web.util.matcher.RequestMatcher)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultLogoutSuccessHandlerFor</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;defaultLogoutSuccessHandlerFor&#8203;(<a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutSuccessHandler</a>&nbsp;handler,
                                                          <a href="../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher">RequestMatcher</a>&nbsp;preferredMatcher)</pre>
<div class="block">Sets a default <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> to be used which prefers being invoked
for the provided <a href="../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher"><code>RequestMatcher</code></a>. If no <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> is
specified a <a href="../../../../web/authentication/logout/SimpleUrlLogoutSuccessHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SimpleUrlLogoutSuccessHandler</code></a> will be used. If any default
<a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> instances are configured, then a
<a href="../../../../web/authentication/logout/DelegatingLogoutSuccessHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>DelegatingLogoutSuccessHandler</code></a> will be used that defaults to a
<a href="../../../../web/authentication/logout/SimpleUrlLogoutSuccessHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SimpleUrlLogoutSuccessHandler</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>handler</code> - the <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> to use</dd>
<dd><code>preferredMatcher</code> - the <a href="../../../../web/util/matcher/RequestMatcher.html" title="interface in org.springframework.security.web.util.matcher"><code>RequestMatcher</code></a> for this default
<a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customizations</dd>
</dl>
</li>
</ul>
<a id="permitAll(boolean)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>permitAll</h4>
<pre class="methodSignature">public&nbsp;<a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers">LogoutConfigurer</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&nbsp;permitAll&#8203;(boolean&nbsp;permitAll)</pre>
<div class="block">Grants access to the <a href="LogoutConfigurer.html#logoutSuccessUrl(java.lang.String)"><code>logoutSuccessUrl(String)</code></a> and the
<a href="LogoutConfigurer.html#logoutUrl(java.lang.String)"><code>logoutUrl(String)</code></a> for every user.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>permitAll</code> - if true grants access, else nothing is done</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="LogoutConfigurer.html" title="class in org.springframework.security.config.annotation.web.configurers"><code>LogoutConfigurer</code></a> for further customization.</dd>
</dl>
</li>
</ul>
<a id="getLogoutSuccessHandler()">

</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogoutSuccessHandler</h4>
<pre class="methodSignature">public&nbsp;<a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutSuccessHandler</a>&nbsp;getLogoutSuccessHandler()</pre>
<div class="block">Gets the <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> if not null, otherwise creates a new
<a href="../../../../web/authentication/logout/SimpleUrlLogoutSuccessHandler.html" title="class in org.springframework.security.web.authentication.logout"><code>SimpleUrlLogoutSuccessHandler</code></a> using the <a href="LogoutConfigurer.html#logoutSuccessUrl(java.lang.String)"><code>logoutSuccessUrl(String)</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../web/authentication/logout/LogoutSuccessHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutSuccessHandler</code></a> to use</dd>
</dl>
</li>
</ul>
<a id="init(org.springframework.security.config.annotation.web.HttpSecurityBuilder)">

</a><a id="init(H)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;init&#8203;(<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&nbsp;http)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../SecurityConfigurer.html#init(B)">SecurityConfigurer</a></code></span></div>
<div class="block">Initialize the <a href="../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>. Here only shared state should be created
and modified, but not properties on the <a href="../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a> used for building
the object. This ensures that the <a href="../../SecurityConfigurer.html#configure(B)"><code>SecurityConfigurer.configure(SecurityBuilder)</code></a> method uses
the correct shared objects when building. Configurers should be applied here.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../SecurityConfigurer.html#init(B)">init</a></code>&nbsp;in interface&nbsp;<code><a href="../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation">SecurityConfigurer</a>&lt;<a href="../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a> extends <a href="../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../SecurityConfigurerAdapter.html#init(B)">init</a></code>&nbsp;in class&nbsp;<code><a href="../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">SecurityConfigurerAdapter</a>&lt;<a href="../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a> extends <a href="../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a id="configure(org.springframework.security.config.annotation.web.HttpSecurityBuilder)">

</a><a id="configure(H)">

</a>
<ul class="blockList">
<li class="blockList">
<h4>configure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;configure&#8203;(<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&nbsp;http)
               throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../SecurityConfigurer.html#configure(B)">SecurityConfigurer</a></code></span></div>
<div class="block">Configure the <a href="../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a> by setting the necessary properties on the
<a href="../../SecurityBuilder.html" title="interface in org.springframework.security.config.annotation"><code>SecurityBuilder</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../SecurityConfigurer.html#configure(B)">configure</a></code>&nbsp;in interface&nbsp;<code><a href="../../SecurityConfigurer.html" title="interface in org.springframework.security.config.annotation">SecurityConfigurer</a>&lt;<a href="../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a> extends <a href="../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../SecurityConfigurerAdapter.html#configure(B)">configure</a></code>&nbsp;in class&nbsp;<code><a href="../../SecurityConfigurerAdapter.html" title="class in org.springframework.security.config.annotation">SecurityConfigurerAdapter</a>&lt;<a href="../../../../web/DefaultSecurityFilterChain.html" title="class in org.springframework.security.web">DefaultSecurityFilterChain</a>,&#8203;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a> extends <a href="../HttpSecurityBuilder.html" title="interface in org.springframework.security.config.annotation.web">HttpSecurityBuilder</a>&lt;<a href="LogoutConfigurer.html" title="type parameter in LogoutConfigurer">H</a>&gt;&gt;</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="getLogoutHandlers()">

</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getLogoutHandlers</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout">LogoutHandler</a>&gt;&nbsp;getLogoutHandlers()</pre>
<div class="block">Gets the <a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutHandler</code></a> instances that will be used.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <a href="../../../../web/authentication/logout/LogoutHandler.html" title="interface in org.springframework.security.web.authentication.logout"><code>LogoutHandler</code></a> instances. Cannot be null.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>

<footer role="contentinfo">
<nav role="navigation">

<div class="bottomNav"><a id="navbar.bottom">

</a>
<div class="skipNav"><a href="LogoutConfigurer.html#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="LogoutConfigurer.html#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="LogoutConfigurer.html#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="LogoutConfigurer.html#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="LogoutConfigurer.html#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">

</a></div>

</nav>
</footer>
<script>if (window.parent == window) {(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-2728886-23', 'auto', {'siteSpeedSampleRate': 100});ga('send', 'pageview');}</script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194" integrity="sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==" data-cf-beacon='{"rayId":"7040ecda8c2797cf","token":"bffcb8a918ae4755926f76178bfbd26b","version":"2021.12.0","si":100}' crossorigin="anonymous"></script>
</body>
</html>
